//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package study.IO.字节流.InputStream;

import Class.Student;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.ObjectInputStream;

public class ObjectInputStream_demo {
    public ObjectInputStream_demo() {
    }

    public static void main(String[] args) throws IOException, ClassNotFoundException {
        ObjectInputStream ois = new ObjectInputStream(new FileInputStream("JavaTest\\Files\\a.txt"));
        Object o = ois.readObject();
        Student stu = (Student)o;
        System.out.println(stu);
        ois.close();
    }
}
